package cn.edu.neusoft.demo.hospital2.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;

@Data// 移除手动getter/setter，@Data注解会自动生成
@TableName("user")
public class User {
    @TableId
    private Integer userId;
    private String userName;
    private String telephone;
    private String password;
    private String realName;
    private String userRole;
    private Date lastLogin;
    private Integer loginCount;
    private Date createTime;
}